﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SearchPage.aspx.cs" Inherits="SearchPage" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="Scripts/JScript.js" type="text/javascript"></script>
    <link href="Style/Master.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .headerMaster
        {
            background-color: #2D2D2D;
            color:#CCC;
        }
        input[type='submit']
        {
            background-color:transparent;
            border:0px none ;
            padding:5px;
        }
        .searchBar
        {
            background-color: #F5F5F5;
            box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1) inset, 0 -1px 0 rgba(0, 0, 0, 0.07) inset;
            padding: 11px 44px;
            vertical-align: middle;
            width: auto;
            padding-left:10%;
        }
    </style>

</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">        
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <nav class="headerMaster">
                    <ul class="glibtn">
                        <li onmouseover="changeChildStyle(this,'span','linehz ogrance')"  onmouseout="changeChildStyle(this,'span','linehz')"><span class="linehz" ></span>
                            <asp:Button class="hyperlink" ID="btnSearchLocation" runat="server" 
                                Text="<%$ Resources:SearchPage, textDiaDiem %>" onclick="Location_Click"></asp:Button></li>
                        <li onmouseover="changeChildStyle(this,'span','linehz ogrance')"  onmouseout="changeChildStyle(this,'span','linehz')"><span class="linehz" ></span>
                            <asp:Button class="hyperlink" ID="btnSearchDirection" runat="server" 
                                Text="<%$ Resources:SearchPage, textDuongDi %>" 
                                onclick="btnSearchDirection_Click"></asp:Button></li>
                        <li onmouseover="changeChildStyle(this,'span','linehz ogrance')"  onmouseout="changeChildStyle(this,'span','linehz')"><span class="linehz" ></span>
                            <asp:Button class="hyperlink" ID="btnSearchCompany" runat="server" 
                                Text="<%$ Resources:SearchPage, textCongTy %>" onclick="btnSearchCompany_Click"></asp:Button></li>
                        <li onmouseover="changeChildStyle(this,'span','linehz ogrance')"  onmouseout="changeChildStyle(this,'span','linehz')"><span class="linehz" ></span>
                            <asp:Button class="hyperlink" ID="btnQuestions" runat="server" 
                                Text="<%$ Resources:SearchPage, textHoiDap %>" onclick="btnQuestions_Click"></asp:Button></li>
                    </ul>
                    <ul class="glibtn" style="position:absolute; right:0px;">
                       <li>
                            <asp:HyperLink class="hyperlink" ID="HyperLink5" style="font-weight:bold;" runat="server">Đăng kí</asp:HyperLink></li>
                        <li>
                            <span style="background-color:Yellow; display:inline-block; width:1px; height:10px;"></span></li>
                        <li>
                            <asp:HyperLink class="hyperlink" ID="HyperLink6" style="font-weight:bold;" runat="server">Đăng nhập</asp:HyperLink></li>
                        <li>
                            <span style="background-color:Yellow; display:inline-block; width:1px;height:10px;"></span>
                        </li>
                        <li>
                            <asp:HyperLink class="hyperlink" ID="HyperLink7" style="font-weight:bold;" runat="server">Giỏ hàng</asp:HyperLink></li>
                    </ul>
                </nav>
                <section class="searchBar">
                    <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                        <asp:View ID="View4" runat="server">
                            <input id="Text1" type="text" style="width: 30%;" />
                            <select ID="Select1" style="width:10%;" name="D1">
                                <option></option>
                            </select>
                            <input id="Button1" class="btnType1"  runat="server"  type="button" value="<%$Resources:SearchPage, textBtnTimKiem %>" />
                        </asp:View>
                        <asp:View ID="View3" runat="server">
                        </asp:View>
                        <asp:View ID="View2" runat="server">
                        </asp:View>
                        <asp:View ID="View1" runat="server">
                    
                        </asp:View>
                    </asp:MultiView>
                </section>
            </ContentTemplate>
            <Triggers>
                <asp:PostBackTrigger ControlID="btnSearchLocation" />
                <asp:PostBackTrigger ControlID="btnSearchDirection" />
                <asp:PostBackTrigger ControlID="btnSearchCompany" />
                <asp:PostBackTrigger ControlID="btnQuestions" />
            </Triggers>
        </asp:UpdatePanel>
    </form>
</body>
</html>
